package cn.ywang.spring.framework.beans.factory.support;

import cn.ywang.spring.framework.beans.factory.BeanFactory;
import cn.ywang.spring.framework.beans.factory.config.BeanDefinition;
import cn.ywang.spring.framework.context.support.AbstractApplicationContext;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author BeatificWang
 * @date 2019/4/21 22:44
 */
public class DefaultListableBeanFactory extends AbstractApplicationContext implements BeanFactory {

	/**
	 * Map of bean definition objects, keyed by bean name
	 */
	protected final Map<String, BeanDefinition> beanDefinitionMap = new ConcurrentHashMap<>(256);

	@Override
	public void refresh() {

	}

	@Override
	public Object getBean(String name) {
		return null;
	}
}
